﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="OutputCache.aspx.cs"
    Inherits="ASPNETPerformance._06_Cache.OutputCache" %>

<%@ OutputCache CacheProfile="Default" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h2>
        Asp.Net OutputCache</h2>
    <div>
        <h2>
            时间:
            <%= DateTime.Now.ToString() %>
        </h2>
    </div>
    <div>
        <div style="width: 350px; margin: 25px 0 0 0; border: solid 1px black">
            服务器当前时间:
            <asp:Substitution ID="ServerTime" runat="server" MethodName="GetServerTime" />
        </div>
    </div>
</asp:Content>
